package com.qys.livesMall.financial.model.vo.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/06/10
 * Time: 9:49
 * DESCRIPTION:
 */
@Data
public class FinancialOfflineUserVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private Long userId;

    @Schema(description = "理财Id")
    @TableField(value = "financial_id")
    private Long financialId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "理财明细数量")
    private Byte financialCount;

    @Schema(description = "用户完成数量")
    private Byte finishCount;

    @Schema(description = "完成任务序号(json数组)")
    private String financialSort;

    @Schema(description = "完成任务时间")
    private LocalDateTime finishTime;

    @Schema(description = "下一次可完成任务时间")
    private LocalDate nextFinancialTime;

    @Schema(description = "获得的奖励")
    private BigDecimal reward;
}
